package com.xiaoxiang.mall.api;

import com.xiaoxiang.common.api.CreateOrderParam;
import com.xiaoxiang.common.api.CreateOrderResult;
import com.xiaoxiang.common.result.HttpResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author: haha
 * @date: 2022/5/5 14:54
 */
@FeignClient(name = "xiaoxiang-pay")
public interface PayService {


    @PostMapping("/alipay/order")
    HttpResult<CreateOrderResult> createOrder(@SpringQueryMap CreateOrderParam param);
}
